package com.hcg.mybatis.mapper;

import com.hcg.mybatis.common.business.CommonMapper;
import com.hcg.mybatis.domain.User;
import org.apache.ibatis.annotations.Param;

//@Mapper
public interface UserMapper extends CommonMapper<User> {
//    @Select("SELECT * from user where uid = #{uid}") 也是可以执行成功的
//    User selectById(@Param("uid") Long uid);

    User findById(@Param("uid") Long uid);
}
